# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'chat_window.ui'
#
# Created: Thu Feb 16 12:51:54 2012
#      by: PyQt4 UI code generator 4.9
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_chat_window(object):
    def setupUi(self, chat_window):
        chat_window.setObjectName(_fromUtf8("chat_window"))
        chat_window.resize(613, 676)
        self.centralwidget = QtGui.QWidget(chat_window)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.graphic_avatar = QtGui.QGraphicsView(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphic_avatar.sizePolicy().hasHeightForWidth())
        self.graphic_avatar.setSizePolicy(sizePolicy)
        self.graphic_avatar.setMaximumSize(QtCore.QSize(41, 41))
        self.graphic_avatar.setObjectName(_fromUtf8("graphic_avatar"))
        self.gridLayout_2.addWidget(self.graphic_avatar, 0, 0, 2, 1)
        self.label_sex = QtGui.QLabel(self.centralwidget)
        self.label_sex.setMinimumSize(QtCore.QSize(150, 0))
        self.label_sex.setObjectName(_fromUtf8("label_sex"))
        self.gridLayout_2.addWidget(self.label_sex, 1, 1, 1, 1)
        self.edit_recv = QtGui.QTextEdit(self.centralwidget)
        self.edit_recv.setObjectName(_fromUtf8("edit_recv"))
        self.gridLayout_2.addWidget(self.edit_recv, 2, 0, 1, 6)
        self.edit_send = QtGui.QTextEdit(self.centralwidget)
        self.edit_send.setObjectName(_fromUtf8("edit_send"))
        self.gridLayout_2.addWidget(self.edit_send, 3, 0, 1, 6)
        self.btn_send = QtGui.QPushButton(self.centralwidget)
        self.btn_send.setObjectName(_fromUtf8("btn_send"))
        self.gridLayout_2.addWidget(self.btn_send, 4, 4, 1, 1)
        self.label_nick = QtGui.QLabel(self.centralwidget)
        self.label_nick.setMinimumSize(QtCore.QSize(150, 0))
        self.label_nick.setObjectName(_fromUtf8("label_nick"))
        self.gridLayout_2.addWidget(self.label_nick, 0, 1, 1, 1)
        self.check_xmpp = QtGui.QCheckBox(self.centralwidget)
        self.check_xmpp.setObjectName(_fromUtf8("check_xmpp"))
        self.gridLayout_2.addWidget(self.check_xmpp, 4, 5, 1, 1)
        self.label_distance = QtGui.QLabel(self.centralwidget)
        self.label_distance.setObjectName(_fromUtf8("label_distance"))
        self.gridLayout_2.addWidget(self.label_distance, 0, 2, 1, 1)
        self.btn_ptt = QtGui.QPushButton(self.centralwidget)
        self.btn_ptt.setObjectName(_fromUtf8("btn_ptt"))
        self.gridLayout_2.addWidget(self.btn_ptt, 4, 3, 1, 1)
        chat_window.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(chat_window)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 613, 19))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        chat_window.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(chat_window)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        chat_window.setStatusBar(self.statusbar)

        self.retranslateUi(chat_window)
        QtCore.QMetaObject.connectSlotsByName(chat_window)

    def retranslateUi(self, chat_window):
        chat_window.setWindowTitle(QtGui.QApplication.translate("chat_window", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.label_sex.setText(QtGui.QApplication.translate("chat_window", "性别：", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_send.setText(QtGui.QApplication.translate("chat_window", "发送", None, QtGui.QApplication.UnicodeUTF8))
        self.label_nick.setText(QtGui.QApplication.translate("chat_window", "昵称：", None, QtGui.QApplication.UnicodeUTF8))
        self.check_xmpp.setText(QtGui.QApplication.translate("chat_window", "XMPP协议", None, QtGui.QApplication.UnicodeUTF8))
        self.label_distance.setText(QtGui.QApplication.translate("chat_window", "距离：", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_ptt.setText(QtGui.QApplication.translate("chat_window", "ptt", None, QtGui.QApplication.UnicodeUTF8))

